// import RNFS from 'react-native-fs';

// export const test = async (): Promise<void> => {
//   var AipBodyAnalysisClient = require("baidu-aip-sdk").bodyanalysis;
//   var APP_ID = "23947758";
//   var API_KEY = "aiiAUEQss8z760t1v6WIXDS4";
//   var SECRET_KEY = "qGycceCUrW7Upc8VuWzkRQeTWu0s8Atg";
//   var client = new AipBodyAnalysisClient(APP_ID, API_KEY, SECRET_KEY);
//   const image = await RNFS.readFile("../assets/images/gesture.JPG", "base64");
//   client.gesture(image).then(function (result: any) {
//     console.log(JSON.stringify(result));
//   }).catch(function (err: any) {
//     // 如果发生网络错误
//     console.log(err);
//   });
// }